package com.green.common.page.grid.utils;

import java.io.Serializable;
import java.util.Map;

/**
 * 
 * @author lineshow email:lineshow7@gmail.com
 * @version 1.0
 * 
 *          ConditionContainer.java created on 2011-7-16 | modified on 2011-11-27
 * 
 *          description: query-condition container
 */
public class ConditionContainer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7399416125895285069L;
	private Map<String, Object> conditions;
	private Integer startIndex;
	private Integer pageRowCount;// 单页显示行数
	private Integer maxIndex;
	private String sortType;
	private String[] sortItem;
	private String printToExcel;

	public Map<String, Object> getConditions() {
		return conditions;
	}

	public void setConditions(Map<String, Object> conditions) {
		this.conditions = conditions;
	}

	public Integer getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(Integer startIndex) {
		this.startIndex = startIndex;
	}

	public Integer getMaxIndex() {
		return maxIndex;
	}

	public void setMaxIndex(Integer maxIndex) {
		this.maxIndex = maxIndex;
	}

	public String[] getSortItem() {
		return sortItem;
	}

	public void setSortItem(String[] sortItem) {
		this.sortItem = sortItem;
	}

	public String getSortType() {
		return sortType;
	}

	public void setSortType(String sortType) {
		this.sortType = sortType;
	}

	/**
	 * @return the printToExcel
	 */
	public String getPrintToExcel() {
		return printToExcel;
	}

	/**
	 * @param printToExcel
	 *            the printToExcel to set
	 */
	public void setPrintToExcel(String printToExcel) {
		this.printToExcel = printToExcel;
	}

	public Integer getPageRowCount() {
		return this.pageRowCount;
	}

	public void setPageRowCount(Integer pageRowCount) {
		this.pageRowCount = pageRowCount;
	}

}
